<div id="messagearea" class="clearing">
	<?php if (strlen($flashmessage)):?><p class="notification"><?=$flashmessage;?></p><?php endif;?>
	<?php if (strlen($flasherror)):?><p class="notification-error"><?=$flasherror;?></p><?php endif;?>
	<?=$this->validation->error_string;?>
</div>
<?=form_open('cerberus/forgotpassword', array('class' => 'loginform'));?>

<fieldset id="loginform">
	<legend>Forgot Your Password?</legend>
	
	<p>Enter your email address and we'll send you an email that will give you the opportunity to reset your password.</p>
	
	<dl class="clearfix">
		<dt><label for="emailaddress" title="Enter your username" class="required">Email Address</label></dt>
		<dd><input type="text" id="emailaddress" name="emailaddress" value="<?=$this->validation->emailaddress;?>" class="{required: true, email: true}" /></dd>
		<dt>&nbsp;</dt><dd><input type="submit" name="submit" value="Reset My Password" class="button" /></dd>
	</dl>
	<p><a href="<?=site_url('cerberus/login');?>">back to login</a></p>
</fieldset>
<input type="hidden" name="target" value="cerberus/login" />
<?=form_close();?>